cmake_minimum_required(VERSION 2.8 FATAL_ERROR)
project(ndt_node)

set(CMAKE_CXX_STANDARD 11)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

find_package(PCL 1.5 REQUIRED)
find_package(Boost REQUIRED COMPONENTS system)  

include_directories(
    ${PCL_INCLUDE_DIRS}
    ${Boost_INCLUDE_DIRS} 
)

link_directories(${PCL_LIBRARY_DIRS})

add_executable(ndt src/ndt_node.cpp)

target_link_libraries(ndt
    ${PCL_LIBRARIES}
    ${Boost_LIBRARIES} 
)
